package com.pkx.guide.info.service;

import com.pkx.guide.info.entity.TInfoGuidePlayListDevice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 诱导屏播放表设备关联表 服务类
 *
 * @author sunsy
 * @since 2023-12-20
 */
public interface TInfoGuidePlayListDeviceService extends IService<TInfoGuidePlayListDevice> {

    /**
     * 分页列表
     *
     * @param tInfoGuidePlayListDevice
     * @return
     */
    IPage<TInfoGuidePlayListDevice> pageList(Page page, TInfoGuidePlayListDevice tInfoGuidePlayListDevice);

    /**
     * 列表查询
     *
     * @param tInfoGuidePlayListDevice
     * @return
     */
    List<TInfoGuidePlayListDevice> listByEntity(TInfoGuidePlayListDevice tInfoGuidePlayListDevice);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    TInfoGuidePlayListDevice selectById(Integer id);

    /**
     * 保存
     *
     * @param tInfoGuidePlayListDevice
     * @return
     */
    Boolean saveTInfoGuidePlayListDevice(TInfoGuidePlayListDevice tInfoGuidePlayListDevice);

    /**
     * 修改
     *
     * @param tInfoGuidePlayListDevice
     * @return
     */
    Boolean modify(TInfoGuidePlayListDevice tInfoGuidePlayListDevice);

    /**
     * 删除
     *
     * @param id
     * @return
     */
    Boolean deleteById(Integer id);

    /**
     * 删除
     *
     * @param playListId
     * @return
     */
    Boolean deleteByPlayListId(Integer playListId);
}
